MySQL
User 'leopompevcmvc' has exceeded the 'max_questions' resource (current value: 64000)

Query

			select `id`, `websiteId`, `url`, ifNull((select expression from language│translation where translationId = `page`.`url` && languageId in('en', 'fr') && expression != '' order by field(languageId, 'en', 'fr') limit 1), "") as `[TR]url`, `metaTitle`, ifNull((select expression from language│translation where translationId = `page`.`metaTitle` && languageId in('en', 'fr') && expression != '' order by field(languageId, 'en', 'fr') limit 1), "") as `[TR]metaTitle`, `metaDescription`, ifNull((select expression from language│translation where translationId = `page`.`metaDescription` && languageId in('en', 'fr') && expression != '' order by field(languageId, 'en', 'fr') limit 1), "") as `[TR]metaDescription`, `metaKeywords`, ifNull((select expression from language│translation where translationId = `page`.`metaKeywords` && languageId in('en', 'fr') && expression != '' order by field(languageId, 'en', 'fr') limit 1), "") as `[TR]metaKeywords`, `favicon`, `phpClass`, `phpData`
			from `page`
			where id in(select * from (select pageId from societyPage where societyId = 1 && active && headerLink) x)